package com.yunhe.authority.model.base;

import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName MessageCenterVo
 * @Description TODO
 * @Author HeTao
 * @Date 2021/10/19 9:29
 * @Version 1.0
 **/
@Data
@ApiModel("消息查询对象")
public class MessageCenterVo implements Serializable {

    private static final long serialVersionUID = -1852006449982082850L;
    /**
     * 消息id
     */
    @ApiModelProperty("消息id")
    private Long id;

    /**
     * 是否已读 默认未读 01  02 已读
     */
    @ApiModelProperty("是否已读")
    private String whetherRead = "01";

    @ApiModelProperty("是否已读Title")
    @NameTitle(nameType = "ITEM",nameCode = "whetherRead")
    private String whetherReadTitle;


    /**
     * 消息标题
     */
    @ApiModelProperty("消息标题")
    private String messageTitle;

    /**
     * 消息类型
     */
    @ApiModelProperty("消息类型")
    private String messageType;

    @ApiModelProperty("消息类型Title")
    @NameTitle(nameType = "ITEM",nameCode = "messageType")
    private String messageTypeTitle;

    /**
     * 业务id
     */
    @ApiModelProperty("消息id")
    private Long businessId;


    /**
     * 消息发送时间
     */
    @ApiModelProperty("消息发送时间")
    private String messageTime;

    /**
     * 消息内容
     */
    @ApiModelProperty("消息内容")
    private String content;

    public MessageCenterVo() {
    }
}
